<?
	if($model->id==0){
		$hidden['collection_id']=$this->input->get('parent_id');
	}

?>

<div class='contentheader'>Neue Content Kategorie</div>
<?
echo form::open(NULL, '', $hidden);
echo form::hidden('id', $model->id);
echo form::open_fieldset();
echo myform::inputfield('title', 'Title', $model->title);
echo myform::textarea('description', 'Beschreibung', $model->description);

echo form::close_fieldset();

echo myform::submit();

echo form::close();
?>